package org.snail.attendence.bean;

import lombok.Data;
import org.snail.employee.bean.EmployeesDO;
import org.snail.other.bean.GroupDO;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
@Document(collection = "abAttendence")
public class AbAttendenceMongo implements Serializable {
    private Date insertTime;   //插入时间,mongoDB默认是美国时间，8是中美时差..
    private EmployeesDO employeesDO;   //员工bean
    private GroupDO groupDO;             //随表写个注释
    private List<AbnormalAttendanceDTO> abnormalAttendanceDTOList;    //异常考勤信息

    public AbAttendenceMongo() {
    }


}
